package com.iotechn.unimall.data.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dobbinsoft.fw.core.annotation.doc.ApiEntity;
import com.dobbinsoft.fw.core.annotation.doc.ApiField;
import com.dobbinsoft.fw.support.domain.SuperDO;
import lombok.Data;

@Data
@ApiEntity(description = "入会审批表")
@TableName("bk_examination_and_approval")
public class ExamineAndApproveDO extends SuperDO {

    @ApiField(description = "用户ID")
    private Long userId;

    @ApiField(description = "审批类型（1-入会，2-解除）")
    @TableField("`type`")
    private Integer type    ;

    @ApiField(description = "协会id")
    private Long associationId;

    @ApiField(description = "企业id")
    private Long enterpriseId;

    @ApiField(description = "审批人id")
    private Long approver;

    @ApiField(description = "审批状态（0-未通过，1-已通过，2-申请中）")
    @TableField("`status`")
    private Integer status;

    @ApiField(description = "未通过原因")
    private String notPassCause;

}
